﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ContainerModel;

namespace Artech.EnterLibExt.ExceptionHandling.Configuration
{
    public class ExceptionFilterData : NameTypeConfigurationElement
    {
        public virtual IEnumerable<TypeRegistration> GetRegistrations(string namePrefix)
        {
            throw new NotImplementedException("Must be implemented by subclasses.");
        }

        public string BuildName(string prefix)
        {
            return prefix + "." + Name;
        }
    }
}